package com.zby.scms.entity;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.*;
import lombok.Data;

/**
 * perms(Perms)实体类
 *
 * @author zhangboyi
 * @since 2020-01-06 14:59:06
 */
@Data
@ApiModel("perms")
public class Perms implements Serializable {
    private static final long serialVersionUID = 925139858175917531L;
    /**
    * 权限id
    */    
    @ApiModelProperty("权限id")
    private Integer permsid;
    
    /**
    * 权限名称
    */    
    @ApiModelProperty("权限名称")
    private String permsname;
    
    /**
    * 权限层级0-2/最高为3层
    */    
    @ApiModelProperty("权限层级0-2/最高为3层")
    private Integer level;
    
    /**
    * 父权限id
    */    
    @ApiModelProperty("父权限id")
    private Integer fpermsid;
    
    /**
    * 权限代号
    */    
    @ApiModelProperty("权限代号")
    private String permscode;

    private List<Perms> children;
    
}